package com.suep.data_analysis.mapper;

import com.suep.data_analysis.dto.DrivePropertyDto;
import com.suep.data_analysis.model.DriveProperty;
import org.mapstruct.Mapper;

import java.util.Collection;

@Mapper
public interface DrivePropertyMapper {
    // DriveProperty → DrivePropertyDto
    DrivePropertyDto toDrivePropertyDto(DriveProperty driveProperty);

    // 批量转换DriveProperty
    Collection<DrivePropertyDto> toDrivePropertyDto(Collection<DriveProperty> driveProperties);
}